/**
 * Copyright (C)  2011  chen wei hua.
 * Permission is granted to copy, distribute and/or modify this document
 * under the terms of the GNU Free Documentation License, Version 2.0
 * or any later version published by the Free Software Foundation;
 * with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
 * A copy of the license is included in the section entitled "GNU Free Documentation License".
 */
package com.javaeye.accounting.service;

import java.util.List;

import com.javaeye.accounting.dto.MaterialsMonthBatchDetail;

public interface IMaterialsMonthBatchDetailService {
	
	/**
	 * 根据月份，分类，以及合格不合格的区分，查找库存月报明细
	 * @param monthNo
	 * @param categoryId
	 * @param queryType
	 * @return
	 */
	public List<MaterialsMonthBatchDetail> getMaterialsBatchMonthInfo(
			String monthNo, int categoryId, String queryType);
	
	/**
	 * 查询初始化库存明细
	 * @param monthNo
	 * @param materialsId
	 * @return
	 */
	public List<MaterialsMonthBatchDetail> getInitMaterialsBatchDetail(
			String monthNo, int materialsId);
	
	public void saveInitMaterialsBatchDetail(String monthNo, List<Integer> detailIds, 
			List<Integer> skuDetailIds, List<MaterialsMonthBatchDetail> datas);

}
